ab021c5099b6c18c335bcfb1b643f4446620e00b,core/src/test/java/brooklyn/entity/rebind/RebindTestFixture.java,RebindTestFixture,rebind,#,122
Before Change
/** rebinds, and sets newApp */
protected T rebind() throws Exception {
if (newApp!=null || newManagementContext!=null) throw new IllegalStateException("already rebinded");
newApp = rebind(true);
newManagementContext = newApp.getManagementContext();
return newApp;
}
After Change
/** rebinds, and sets newApp */
protected T rebind() throws Exception {
return rebind(true);
}
protected T rebind(boolean checkSerializable) throws Exception {